

#ifndef _SHELL_RESSUBSTITUTE_MESSAGE_H_
#define _SHELL_RESSUBSTITUTE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResSubstituteMessage : public Message
{
	public:
	ResSubstituteMessage();
	~ResSubstituteMessage();
	void reset();
	ResSubstituteMessage* clone();
	static const int _ID;
	//ip地址
	std::string ip;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
